package com.yuanyefu.ModifyDefinition;

import org.springframework.context.ApplicationEvent;
import org.springframework.context.ApplicationListener;

/**
 * Created by Administrator on 2017/9/17 0017.
 */
public class MessageListener implements ApplicationListener {
    public void onApplicationEvent(ApplicationEvent applicationEvent) {
        System.out.println("事件发布者"+applicationEvent.getSource());
        System.out.println(applicationEvent.toString());
    }
}
